#!/usr/bin/env python
# -*- coding:utf-8 -*-

from flask_restful import Api

from . import warehouses_blueprint
from api_1_0.warehousesResource.warehousesResource import WarehousesResource
from api_1_0.warehousesResource.warehousesOtherResource import WarehousesOtherResource

api = Api(warehouses_blueprint)

api.add_resource(WarehousesResource, '/warehouses/<warehouse_id>', '/warehouses', endpoint='Warehouses')

